<%@page import="classes.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
	<%
		HttpSession s = request.getSession();
		User us = (User) s.getAttribute("user");
		out.println(us.getName() + "'s settings");
	%>
</title>
</head>

<body>
	<form action="settings" method="post">

		<h1>Account Settings</h1>

		<p>
			Your Security Question : <input type="text" name="question"
				value=<%out.println(us.getQuestion());%>>
		</p>
		<p>
			Your Security Answer : <input type="text" name="answer"
				value=<%out.println(us.getAnswer());%>>
		</p>
		<input type="submit" name="butt" value="Submit">
		<p>
			<a href="changePassword.jsp">Change Password</a>
		</p>
	</form>
</body>
</html>